package com.nexus.all.service;

import com.nexus.all.model.FileBatch;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 文件上传批次表接口类
 *
 * @author zxt
 * @version 1.0
 * @CopyRright (c): <?>
 */
public interface IFileBatchService {

    /**
     * 异步上传压缩图片
     *
     * @param file
     * @param userId
     * @return
     */
    String syncUploadImage(MultipartFile file, Long userId);

    /**
     * 处理待上传的文件
     */
    void dealPendingFileBatch(List<FileBatch> fileBatchList, String traceId);


    // --------------------------------------------------------------------
    // ----------------------------以下为C端接口----------------------------
    // --------------------------------------------------------------------


}